<ion-view hide-nav-bar="false" view-title="金策师">
  <ion-content class="wap3-user wap3-center has-tabs" ng-class="{'wap3-ios-hade':platform.IOSAPP}" style="background-color: #f0eff5; bottom: 0px; ">
    <div class="myself-head" style="background-color: #fff; margin-top: 10px; padding-top: 7px; height: 90px;">
      <div class="row" style="padding-left: 15px;">
        <div ng-click="goLogin()" class="col col-20">
          <div class="myself-photo" style="width: 60px; height: 60px;">
            <img ng-show="userImage" ng-src="{{(userImage.indexOf('http:') >= 0) ? userImage : (requrl + userImage)}}?x-oss-process=image/resize,w_750">
            <img ng-show="!userImage" src="img/h.png">
          </div>
        </div>
        <div ng-click="goLogin()" class="col col-60">
          <div class="list">
            <label ng-show="user.info.role != 1 && user.info.role != 98 && user.info.role != 99" class="item item-input" style="padding-top: 3px; display: block">
              <p style="font-size: 15px; margin-bottom: 5px;"><span style="padding-right: 20px;font-size: 18px; color: #3b3b3b;" class="ng-binding">{{user.info.name || user.info.isLogin}}</span>{{user.info.job}}</p>
              <p style="font-size: 12px; color: #999">{{user.info.companyName}}</p>
            </label>
            <label ng-hide="user.info.role != 1 && user.info.role != 99" class="item item-input" style="padding-top: 9px; display: block">
              请认证职业信息
            </label>
            <label ng-show="user.info.role == 98" class="item item-input" style="padding-top: 9px; display: block">职业信息待认证</label>

            <span ng-show="" class="item-note">审核中</span>
          </div>
        </div>
        <div ng-hide="user.info.role != 1 && user.info.role != 98 && user.info.role != 99" ui-sref="app.myself.certification({isshowback:true})" class="item-icon-right" style="padding-top: 16px; padding-right: 35px;line-height: 46px;">
          <span ng-hide="user.info.role == 98">去认证</span>
          <span ng-show="user.info.role == 98">查看</span>
          <i class="icon myself-index-icon" style="background-image: url(img/icon/myindex/right.png); height: 100px;"></i>
        </div>
      </div>
    </div>

    <div class="row shop-function mt10">
      <div class="col col-33" ui-sref="app.shopsProduct">
        <i style="background-image:url(img/shopproduct2.png)"></i>
        <span>产品管理</span>
      </div>
      <div class="col col-33" ui-sref="visitorList()">
        <i style="background-image:url(img/shopclient.png)"></i>
        <span>客户管理</span>
      </div>
      <div class="col col-33" ui-sref="shopChatList" ng-if='ISWEB || platform.androidAPP' >
        <div style="position: relative">
          <i style="background-image:url(img/shops/gtlb.png)"></i>
          <div class="ishasMessage" ng-if="hasMessage"></div>
        </div>
        <span>沟通列表</span>
      </div>
      <div class="col col-33" ng-click="goIOS()" ng-if="platform.IOSAPP">
        <div style="position: relative">
          <i style="background-image:url(img/shops/gtlb.png)"></i>
          <div class="ishasMessage" ng-if="hasMessage"></div>
        </div>
        <span>沟通列表</span>
      </div>

    </div>

    <div class="row shop-function mt10">
      <div class="col col-33" ui-sref="blogslist()">
        <i style="background-image:url(img/shops/wddt.png)"></i>
        <span>我的动态</span> 
      </div>
      <div class="col col-33" ui-sref="app.shopsAcList">
        <i style="background-image:url(img/shopac.png)"></i>
        <span>我的活动</span>
      </div>
      <div class="col col-33" ui-sref="subscribe()">
        <i style="background-image:url(img/shoporder.png)"></i>
        <span>预约订单</span>
      </div>

    </div>
    
    <div class="row shop-function mt10" >
      <div class="col col-33" ui-sref="app.shopsDataHome">
        <i style="background-image:url(img/datacount2.png)"></i>
        <span>数据统计</span>
      </div>
      <div class="col col-33" ui-sref="shoPreview({ismaster:false})">
        <i style="background-image:url(img/shops/dpyl.png)"></i>
        <span>店铺预览</span>
      </div>


      <div ng-show="platform.IOSAPP || platform.androidAPP" class="col col-33" ng-click="proshare()">
        <i style="background-image:url(img/shops/dpfx.png)"></i>
        <span>店铺分享</span>
      </div>
    </div>

    
  </ion-content>
</ion-view>